package com.indusfo.spc.mapper;

import com.indusfo.spc.pojo.ProcessTarget;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProcessTargetMapper {

    int insertProcessTarget(ProcessTarget processTarget);
    int updateProcessTarget(ProcessTarget processTarget);
    List<ProcessTarget> queryProcessTarget(ProcessTarget processTarget);
    int countProcessTarget(ProcessTarget processTarget);
    int checkProcessTarget(ProcessTarget processTarget);
    int deleteProcessTarget(@Param("processTargetIds") List<Integer> processTargetIds, @Param("dataState") Integer dataState);
}
